package cn.jd.org.service;

import cn.jd.basic.util.PageList;
import cn.jd.org.domain.Shop;
import cn.jd.basic.service.BasicService;
import cn.jd.org.domain.ShopAuditLog;
import cn.jd.org.dto.ShopDto;
import cn.jd.org.query.ShopQuery;

import javax.mail.MessagingException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jd
 * @since 2022-10-15
 */
public interface IShopService extends BasicService<Shop> {

    void settlement(Shop shop);

    void auditPass(ShopAuditLog shopAuditLog) throws MessagingException;

    void auditReject(ShopAuditLog shopAuditLog);

    void active(Long id);

    void importExcel(List<Shop> shops);


    List<ShopDto> eacher();

    PageList<Shop> queryByPageOrLog(ShopQuery query);
}
